/**
 *
 */
package com.thinkgem.javamg.modules.busi.dao;

import com.thinkgem.javamg.common.persistence.CrudDao;
import com.thinkgem.javamg.common.persistence.annotation.MyBatisDao;
import com.thinkgem.javamg.modules.busi.entity.News;
import org.apache.ibatis.annotations.Param;

/**
 * 资讯DAO接口
 *
 * @author zengzy
 * @version 2017-09-13
 */
@MyBatisDao
public interface NewsDao extends CrudDao<News> {
    /**
     * 判断改资讯是否存在 0否
     *
     * @param title
     * @return
     */
    int isexist(@Param(value = "title") String title);
}